package com.ruoyi.vote.common.strategy;

import com.ruoyi.common.exception.vote.VoteException;
import com.ruoyi.vote.admin.domain.VoteActivity;

public interface ActivityCheckStrategy {
    /**
     * 校验活动
     * @param activity  活动对象
     * @throws VoteException
     */
    void check(VoteActivity activity) throws VoteException;
}
